﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using log4net; 

namespace Totoro.Logging
{
    
    public static  class LogHelper
    {
        private static log4net.ILog log = log4net.LogManager.GetLogger("logger ");

        public static void WriteLog(string msg)
        {
            log.Info(msg);
        }
        public static void WriteError(string msg, Exception e)
        {
            log.Error(msg, e);
        }

        
        
    }
}
